package com.sofwin.service.impl;/**
 * @PackageName:com.sofwin.service.impl
 * @author:andyLiu
 * @DateTime:2020/12/25 15:42
 * @Description:[TODO]输入当前模块作用
 **/

import com.sofwin.mapper.SOrganizationMapper;
import com.sofwin.pojo.SOrganization;
import com.sofwin.service.OrgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: OrgServiceImpl
 * @Description: TODO
 * @Author: andyliu
 * @Date: 2020/12/25 15:42
 * @Version: 1.0
 **/
@Service
public class OrgServiceImpl implements OrgService {
    @Autowired
    private SOrganizationMapper mapper;
    @Override
    public List<SOrganization> queryOrgs() {
        return mapper.selectByExample(null);
    }
}
